package com.hm.cms.service;

import java.util.List;

import com.hm.cms.su.InfBaseConfig;
import com.hm.cms.vo.HcmsArticleVo;
import com.hm.common.su.bean.PageInfo;
import com.hm.common.su.bean.PageInfo.PageInfoParam;

/**
 * @author shishun.wang
 * @date 上午10:54:34 2017年11月9日
 * @version 1.0
 * @describe 
 */
public interface ArticleService {
	
	public String HTTP_INVOKER_EXPORT_CONTEXT = "/HttpInvokerEndpoing/hmcms/ArticleService/"
			+ InfBaseConfig.HttpInvokerEndpoing.VERSION;

	void addArticle(HcmsArticleVo articleVo, String operationUserId);

	PageInfo<HcmsArticleVo> queryArticle(PageInfoParam pageParam, String termTayId, String termId);

	HcmsArticleVo getArticleInfo(String articleId);

	long getArtilcleMaxOrder();

	boolean checkArticleSourceUri(String sourceUri);

	public List<HcmsArticleVo> recommendArticle(String termId);
}